//
//  EditorModel.swift
//  XMLA
//
//  Created by Gao on 17/2/27.
//  Copyright © 2017年 Odm. All rights reserved.
//

import UIKit

class EditorModel: BaseModel {
    var pageId: Int = 0
    var pageSize: Int = 0
    var totalCount: Int = 0
    var maxPageId: Int = 0
    var msg: String = ""
    var list = [EditorList]()
    var ret: Int = 0
    
    class func objectClassInArray() -> [AnyHashable: Any] {
        return ["list": EditorList.self]
    }
}

class EditorList: BaseModel {
    var id: Int = 0
    var intro: String = ""
    var uid: Int = 0
    var tracks: Int = 0
    var tracksCounts: Int = 0
    var playsCounts: Int = 0
    var isFinished: Int = 0
    var tags: String = ""
    var coverMiddle: String = ""
    var title: String = ""
    var lastUptrackAt: Int64 = 0
    var albumCoverUrl290: String = ""
    var serialState: Int = 0
    var albumId: Int = 0
    var nickname: String = ""
    var lastUptrackTitle: String = ""
    var lastUptrackId: Int = 0
}
